package com.hl.service.impl;

import com.hl.domain.PsychologicalTopic.PsychologicalTopic;
import com.hl.domain.PsychologicalTopic.PsychologicalTopicReply;
import com.hl.mapper.PsychologicalTopicReplyMapper;
import com.hl.service.PsychologicalTopicReplyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PsychologicalTopicReplyServiceImpl implements PsychologicalTopicReplyService {
    @Autowired
     private PsychologicalTopicReplyMapper psychologicalTopicReplyMapper;
    @Override
    public List<PsychologicalTopicReply> findByUserId(Integer id) {
        return psychologicalTopicReplyMapper.selectByUserId(id);
    }
}
